vcFocusSet

Represents container for focus mode objects that is used to start Focus Mode feature. Content of the focus set will be kept focused, everything that is not included in the set will become unfocused when focus mode is started.

See in: Overview

Module: vcCore

Parent: vcObject

Children -

Referenced by: vcFocusModeManager.createFocusSet()

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
FocusedObjectsvcListRGets collection of objects that this set contains.
IsActiveBooleanRGets a value indicating whether this set is currently active in focus mode or not. True if this set is used in the active focus mode, false otherwise.
NameStringRWGets or sets name of the focused object set.

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
addObjectBooleanvcNode objectToAddAdds objectToAdd to this set and returns result of the operation.
See more
Parameters:
objectToAdd (vcNode): Node to add.

Returns:
bool: Returns True on success, otherwise False.
removeObjectBooleanvcNode objectToRemoveRemoves objectToRemove from this set and returns result of the operation.
See more
Parameters:
objectToRemove (vcNode): Node to remove.

Returns:
bool: Returns True on success, otherwise False.

Events

Learn how to use events here. The events are also inherited from the parent class.

NameParametersDescription
ObjectAddedNoneTriggered when a new object was added to the set.
ObjectRemovedNoneTriggered when an object was removed from the set.